package com.lxr.iot.client.HearEmnu;

import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class EnumTest {

    private final Logger logger = LoggerFactory.getLogger(EnumTest.class);

    @Test
    public void log() {
        BeanEnmu b1 = BeanEnmu.valueOf(1);
        b1.getType();

        BeanEnmu p1 = BeanEnmu.pub;
        p1.getType();

        logger.debug("b1 : {} , p1 : {}" , b1.getType() , p1.getType());
    }
}
